package com.rightsidetech.activity.dto.request.store;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: yhr
 * @Date: 2022-02-09 09:10
 */
@Data
public class MtActivityServiceSaveReq implements Serializable {
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("活动开始时间")
    private Date startTime;
    @ApiModelProperty("活动结束时间")
    private Date endTime;
    @ApiModelProperty("参与规则（1区域 2等级）")
    private String joinRule;
    @ApiModelProperty("等级")
    private String level;
    @ApiModelProperty("区域(大区id)")
    private List<Long> areasIds;
    @ApiModelProperty("区域(代理商id)")
    private List<Long> agentIds;
    @ApiModelProperty("是否手动报名（1是 2否）")
    private String enroll;
    @ApiModelProperty("报名开始时间")
    private String enrollStartTime;
    @ApiModelProperty("报名结束时间")
    private String enrollEndTime;
    @ApiModelProperty("获奖标准(1订单 2赞数 3天数 4销量)")
    private String awardRule;
    @ApiModelProperty("数量")
    private String quantity;
    @ApiModelProperty("集赞图片")
    private List<String> images;
    @ApiModelProperty("商品id")
    private List<String> commIds;
    @ApiModelProperty("奖励(1现金 2积分)")
    private String reward;
    @ApiModelProperty("评比规则（1全部排名 2大区排名）")
    private String compare;
    @ApiModelProperty("排名数量")
    private String compareNum;
    @ApiModelProperty("奖励方式（1平分 2随机 3固定 4抽奖）")
    private String rewardWay;
    @ApiModelProperty("奖励总数/总金额")
    private String countAmount;
    @ApiModelProperty("是否手动打款(1是 2否)")
    private String payment;
    @ApiModelProperty("参与方式（1上传图片 2抽奖 3连续上传图片）")
    private String attend;
    @ApiModelProperty("领奖开始时间")
    private String rewardStartTime;
    @ApiModelProperty("领奖结束时间")
    private String rewardEndTime;
    @ApiModelProperty("规则描述")
    private String ruleDetails;
    @ApiModelProperty("活动主题")
    private String themePic;
    @ApiModelProperty("模板图片")
    private String posterPic;
    @ApiModelProperty("模板名（1瓜分模板 2集赞模板 3堆头模板 4抽奖模板 5排名模板）")
    private String posterPicName;
    @ApiModelProperty("1.88数量")
    private String oneNum;
    @ApiModelProperty("18.88数量")
    private String twoNum;
    @ApiModelProperty("188.88数量")
    private String threeNum;
    @ApiModelProperty("活动页面地址")
    //@NotBlank(message = "活动页面地址不能为空")
    private String actUrl;
    @ApiModelProperty("选中的规则(前端编辑使用)")
    private String selectRule;
    @ApiModelProperty("背景图片-背景")
    private String backgroundPic;
    @ApiModelProperty(value = "活动基础id",required = true)
    @NotNull(message = "活动基础id不能为空")
    private Long activityBaseInfoId;

}
